﻿#ifndef ISERVICE_H
#define ISERVICE_H

#include "commdef.h"

class IFramework;
class ILogger;
class IConfig;
class INetComm;
class ICommon;
class IService : public QObject
{
public:
    IService(){}
    virtual ~IService(){}
    virtual int Init() = 0;
    virtual int UnInit() = 0;
    virtual int SetFramework(IFramework* pFrm) = 0;
    virtual int PostThreadMsg(int nType, QString data) = 0;
};

#endif // ISERVICE_H
